.Net Framework > v3.5.21022.8 > System > Runtime > Serialization > Json > DataContractJsonSerializer > DataContractJsonSerializer DataContractJsonSerializer(Type)
DataContractJsonSerializer(Type,IEnumerable<Type>)
DataContractJsonSerializer(Type,IEnumerable<Type>,Int32,Boolean,IDataContractSurrogate,Boolean)
DataContractJsonSerializer(Type,String)
DataContractJsonSerializer(Type,String,IEnumerable<Type>)
DataContractJsonSerializer(Type,String,IEnumerable<Type>,Int32,Boolean,IDataContractSurrogate,Boolean)
DataContractJsonSerializer(Type,XmlDictionaryString)
DataContractJsonSerializer(Type,XmlDictionaryString,IEnumerable<Type>)
DataContractJsonSerializer(Type,XmlDictionaryString,IEnumerable<Type>,Int32,Boolean,IDataContractSurrogate,Boolean)


DataContractJsonSerializer(Type)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.Json.DataContractJsonSerializer class to serialize or deserialize an object of the specified type.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContractJsonSerializer(Type,IEnumerable<Type>)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.Json.DataContractJsonSerializer class to serialize or deserialize an object of the specified type, with a collection of known types that may be present in the object graph.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
knownTypesSystem.Collections.Generic.IEnumerable<Type>
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContractJsonSerializer(Type,IEnumerable<Type>,Int32,Boolean,IDataContractSurrogate,Boolean)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.Json.DataContractJsonSerializer class to serialize or deserialize an object of the specified type. This method also specifies a list of known types that may be present in the object graph, the maximum number of graph items to serialize or deserialize, whether to ignore unexpected data or emit type information, and a surrogate for custom serialization.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
knownTypesSystem.Collections.Generic.IEnumerable<Type>
maxItemsInObjectGraphInt32
ignoreExtensionDataObjectBoolean
dataContractSurrogateIDataContractSurrogate
alwaysEmitTypeInformationBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContractJsonSerializer(Type,String)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.Json.DataContractJsonSerializer class to serialize or deserialize an object of a specified type using the XML root element specified by a parameter.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameString
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContractJsonSerializer(Type,String,IEnumerable<Type>)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.Json.DataContractJsonSerializer class to serialize or deserialize an object of a specified type using the XML root element specified by a parameter, with a collection of known types that may be present in the object graph.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameString
knownTypesSystem.Collections.Generic.IEnumerable<Type>
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContractJsonSerializer(Type,String,IEnumerable<Type>,Int32,Boolean,IDataContractSurrogate,Boolean)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.Json.DataContractJsonSerializer class to serialize or deserialize an object of the specified type. This method also specifies the root name of the XML element, a list of known types that may be present in the object graph, the maximum number of graph items to serialize or deserialize, whether to ignore unexpected data or emit type information, and a surrogate for custom serialization.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameString
knownTypesSystem.Collections.Generic.IEnumerable<Type>
maxItemsInObjectGraphInt32
ignoreExtensionDataObjectBoolean
dataContractSurrogateIDataContractSurrogate
alwaysEmitTypeInformationBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContractJsonSerializer(Type,XmlDictionaryString)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.Json.DataContractJsonSerializer class to serialize or deserialize an object of a specified type using the XML root element specified by a parameter of type System.Xml.XmlDictionaryString.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameXmlDictionaryString
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContractJsonSerializer(Type,XmlDictionaryString,IEnumerable<Type>)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.Json.DataContractJsonSerializer class to serialize or deserialize an object of a specified type using the XML root element specified by a parameter of type System.Xml.XmlDictionaryString, with a collection of known types that may be present in the object graph.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameXmlDictionaryString
knownTypesSystem.Collections.Generic.IEnumerable<Type>
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContractJsonSerializer(Type,XmlDictionaryString,IEnumerable<Type>,Int32,Boolean,IDataContractSurrogate,Boolean)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.Json.DataContractJsonSerializer class to serialize or deserialize an object of the specified type. This method also specifies the root name of the XML element, a list of known types that may be present in the object graph, the maximum number of graph items to serialize or deserialize, whether to ignore unexpected data or emit type information, and a surrogate for custom serialization.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameXmlDictionaryString
knownTypesSystem.Collections.Generic.IEnumerable<Type>
maxItemsInObjectGraphInt32
ignoreExtensionDataObjectBoolean
dataContractSurrogateIDataContractSurrogate
alwaysEmitTypeInformationBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database